<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>京东首页</title>	
	<link rel="stylesheet" href="__TPL__/css/head.css" type="text/css" />
	<script type="text/javascript" src='__TPL__/js/jquery-1.11.0.min.js'></script>
	<script type="text/javascript" src='__TPL__/js/head.js'></script>
	<script type="text/javascript" src='__TPL__/js/fenlei.js'></script>
	<link rel="stylesheet" href="__TPL__/css/fenlei.css" />
</head>
<body>
<!-- 最顶部的可关闭广告 -->
<!-- <div id='top_ad'><img src="__TPL__/images/top_ad.jpg" alt="" /></div> -->
<!-- 最顶部的可关闭广告结束-->
<!-- 头部灰色区域 -->
	<load file='__TPL__/top.html'/>
	
<!-- 头部灰色区域结束 -->
<!-- 中间主体区域 -->
	<div id="main">
	<!-- logo区域 -->
	<load file='__TPL__/header.html'/>
		
	<!-- 导航区域结束 -->
	<!-- 面包屑导航 -->
	<div id="mian">
		<list from="$db" name="l">
		<strong style="font-size:12px;color:#666666;" class="da">{$l.cname}</strong> > 
		</list>
		<!-- <a href="">摄影摄像</a> > <a href="">单反相机</a> > <a href="">尼康（Nikon）</a> > <a href="">尼康D3200</a> -->
	</div>
	<!-- 面包屑导航结束 -->
	<!-- 主体内容区域 -->
	<div id="content">
		<div class="l">
			<div class="lei">
				<ul>
					<li class="biao">
						<span></span>
						{$name}
					</li>
					<li class="kong">
						<channel cid="$pid" row="10">
						<a href="{$field.url}">{$field.cname}</a>
						</channel>
					</li>
				</ul>
				
			</div>
			<list from="$cate" name="c">
			<a href="{|U:'content'}" style="width:210px;height:240px;" class="ad1">
				<img style="width:210px;height:240px;" src="{$c.index_pic}" alt="" />
			</a>
			</list>


			<div class="xiao">
				<h2>一周销量排行</h2>
				<ul>
					<list from="$cc" name="cc">
					<li>
						<span>{$hd.list.cc.index}</span>
						<p class="show">
							{$cc.gname}
						</p>
						<div class="hide">
							<a href="" class="l"><img style="width:50px; height:50px;" src="{$cc.index_pic}" alt="" /></a>
							<p class="r">
								<a href="">{$cc.gname}</a>
								<span>￥{$cc.price}</span>
							</p>
						</div>
					</li>
					</list>
				</ul>
			</div>
		<div id="genju">
		<!-- 最近浏览 -->
		<div class="l">
			<h2><span>最近浏览</span></h2>
			<ul>
				<list from="$browse" name="b">
				<li>
					<a href="{|U:'content',array('gid'=>$b['gid'])}" class="img"><img style="width:50px;height:50px;" src="{$b.index_pic}" alt="" /></a>
					<p>
						<a href="">{$b.gname|hd_substr:20}</a>
						<span>￥{$b.price}</span>
					</p>
				</li>
			</list>
			
			</ul>
		</div>
		</div>
		<!-- 最近浏览结束 -->
		</div>
		<div class="r">
		<!-- 热卖开始 -->
			<div class="remai">
				<h2>热卖推荐</h2>
				<ul>
					<goods cid="$cid" flag="推荐" row="3">

					<li>
						<a href="{$field.url}"><img style="width:100px;height:100px;" src="{$field.index_pic}" alt="" /></a>
						<div class="r">
							<a href="{$field.url}">{$field.gname|hd_substr:23}</a>
							<p class="tejia">特价：<span>￥{$field.price}</span></p>
							<p class="gou"><a href="{$field.url}">立即抢购</a></p>
						</div>
					</li>
				  </goods>

				</ul>
			</div>
		<!-- 热卖结束 -->
		<!-- 筛选 -->
			<div class="shaixuan">
				<h2><span>{$name}</span> - 商品筛选</h2>
				<ul>
					<li class="pin">
						<span class='more'>更多</span>
						<div class="l">
							品牌：
						</div>
						<div class="r">
							<div class="show">
								<a href=""></a>
								
							</div>
							<div class="hide" ><!-- style="display:block;" -->
								<h3>
									<span>所有品牌<b></b></span>
									<span>A<b></b></span>
									<span>B<b></b></span>
									<span>C<b></b></span>
									<span>D<b></b></span>
									<span>E<b></b></span>
									<span>F<b></b></span>
									<span>G<b></b></span>
									<span>H<b></b></span>
									<span>J<b></b></span>
									<span>K<b></b></span>
									<span>L<b></b></span>
									<span>M<b></b></span>
									<span>N<b></b></span>
									<span>O<b></b></span>
									<span>P<b></b></span>
									<span>Q<b></b></span>
									<span>R<b></b></span>
									<span>S<b></b></span>
									<span>T<b></b></span>
									<span>U<b></b></span>
									<span>V<b></b></span>
									<span>W<b></b></span>
									<span>X<b></b></span>
									<span>Y<b></b></span>
									<span>Z<b></b></span>
								</h3>
								<div class="bao">
									<div class="a1 active">
										<a href="">阿玛尼（ARMANI）</a>
										<a href="">阿玛尼（ARMANI）</a>
										<a href="">阿玛尼（ARMANI）</a>
										<a href="">阿玛尼（ARMANI）</a>
										<a href="">阿玛尼（ARMANI）</a>
										<a href="">阿玛尼（ARMANI）</a>
									</div>
									<div class="a2">
										<a href="">巴宝莉（BURBERRY）</a>
										<a href="">巴宝莉（BURBERRY）</a>
										<a href="">巴宝莉（BURBERRY）</a>
										<a href="">巴宝莉（BURBERRY）</a>

									</div>
								</div>
							</div>
						</div>
					</li>

					<list from="$attr" name="d">
					<li class="pin">
						<div class="l">
							<b style="background:">{$d.attr_name}：{|searchAttrUrl:0,$hd['list']['d']['index'],'全部'}</b>
						</div>
						
						<div class="r">
							<list from="$d.attrvalue" name="f">
								<a href="javascript:;">{$f.avid|searchAttrUrl:$hd['list']['d']['index'],$f['attr_value']}</a>
							</list>
						</div>
						
					</li>
					</list>
				</ul>
			</div>
		<!-- 筛选结束 -->
		<!--排序 -->
		<div class="paixu">
			<div class="top">
				<div class="l">
					<span>排序：</span>
					<a href="">销量</a>
					<a href="">价格</a>
					<a href="">评论数</a>
					<a href="" class="red">上架时间</a>	
				</div>
				<div class="page">
					<a  href="javascript:;">{$page}</a>
				</div>
			</div>
			<div class="bottom">
				<!-- 库存： -->
			</div>
		</div>
		<!--排序结束  -->
		<div class="zhanshi">
			<ul>
				<list from="$goods" name="g">
				<li>
					<a href="{|U:'content',array('gid'=>$g['gid'],'cid'=>$g['cid'])}" class="img"><img src="{$g.index_pic}" alt="" /></a>
					<a href="">{$g.gname|hd_substr:30,'...'}</a><br/>
					<span>￥{$g.price}</span>
					<a class="bao">已有5人评价</a>
					<p>北京有货</p>
				</li>
			    </list>
			</ul>
		<div class="page">
			<a href="javascript:;">{$page}</a>
		</div>
		</div>

		<!-- 商品精选 -->
		<!-- <div class="jingxuan">
			<h2>商品精选</h2>
			<ul>
				<li>
					<a href="" class="img"><img src="__TPL__/images/rBEhWlJACegIAAAAAAFQlHcKsvMAADbPgFR5KQAAVCs370.jpg" alt="" /></a>
					<a href="" class="text">巴利（BALLY） 男式黑色牛皮配红白织物银色针扣皮带 COLIMAR-35.TG 120 </a>
					<div><span>￥</span>999.00 <p><span>直降</span>已优惠 ￥691</p></div>
				</li>
				<li>
					<a href="" class="img"><img src="__TPL__/images/rBEhWlJACegIAAAAAAFQlHcKsvMAADbPgFR5KQAAVCs370.jpg" alt="" /></a>
					<a href="" class="text">巴利（BALLY） 男式黑色牛皮配红白织物银色针扣皮带 COLIMAR-35.TG 120 </a>
					<div><span>￥</span>999.00 <p><span>直降</span>已优惠 ￥691</p></div>
				</li>
				<li>
					<a href="" class="img"><img src="__TPL__/images/rBEhWlJACegIAAAAAAFQlHcKsvMAADbPgFR5KQAAVCs370.jpg" alt="" /></a>
					<a href="" class="text">巴利（BALLY） 男式黑色牛皮配红白织物银色针扣皮带 COLIMAR-35.TG 120 </a>
					<div><span>￥</span>999.00 <p><span>直降</span>已优惠 ￥691</p></div>
				</li>
				<li>
					<a href="" class="img"><img src="__TPL__/images/rBEhWlJACegIAAAAAAFQlHcKsvMAADbPgFR5KQAAVCs370.jpg" alt="" /></a>
					<a href="" class="text">巴利（BALLY） 男式黑色牛皮配红白织物银色针扣皮带 COLIMAR-35.TG 120 </a>
					<div><span>￥</span>999.00 <p><span>直降</span>已优惠 ￥691</p></div>
				</li>
			</ul>
		</div> -->
		<!-- 商品精选结束 -->
		</div>

	</div>
	<!-- 主体区域结束 -->
	<!-- 最近浏览以及根据浏览猜你喜欢 -->
	
	<!-- 最近浏览以及根据浏览猜你喜欢结束 -->
		
	<load file='__TPL__/floor.html'/>
	
	
<!-- 中间主体区域结束 -->
</div>
</body>

</html>

